#!/bin/bash
redis_list=(redis1 redis2 redis3)
docker-compose up -d
for r in ${redis_list[@]};do
	docker exec $r bash -c "redis-sentinel /usr/local/etc/redis/sential.conf &"
	echo $r"哨兵启动完成"
done
